package com.example.disconf.main;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

/**
 * Created by wenjl on 2015/8/5.
 */
@Configuration
@EnableAutoConfiguration
@ComponentScan(basePackages = {"com.example"})
@ImportResource("disconf.xml")
@Import(SpringConfiguration.class)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
